﻿using System.Runtime.Serialization;
using System;

namespace VPLink2014.Data.MesApplis
{
    [DataContract]
    public class VODepartement : VOTeam
    {
        public override bool Equals(Object obj)
        {
            // Check for null values and compare run-time types.
            if (obj == null || GetType() != obj.GetType())
                return false;

            VODepartement p = (VODepartement)obj;
            if (this.Name == p.Name)
            {
                return true;
            }

            return false;
        }
        public override int GetHashCode()
        {
            return this.Name.GetHashCode();
        }

    }
}
